#pragma once
#include "FpSpDefine.h"
#include "FpSerialPort.h"

#include <QObject>
#include <QSharedPointer>

class FPSERIALPORT_EXPORT FpSerialReciver :
    public QObject
{
    Q_OBJECT
public:
    FpSerialReciver();
    ~FpSerialReciver();

    void Reset();

public slots:
    void Recive();

private:
    bool _haveRead;
    QByteArray _reciveMsg;
    QSharedPointer<FpSerialPort> _fpSerialPort;
};

